<div id="player-list">
	<h3><%= @player2.name %>'s team is on offense</h3>
	<table class="table1">
  	<% @offense.each do |player| %>
		<tr class="<%= cycle('odd', 'even') %>">
			
			<td>
				<%= image_tag player.image_url, :class => 'list-image' %>
			</td>
			
			<td class="list-description">
				<dl>
					<dt><%=h player.name %></dt>
					<dd>Overall: <%= player.overall %></dd>
					<% if player.position == "QB" %>
						<dt><%= @rand1 %></dt>
					<% end %>
					<% if player.position == "WR" %>
						<dt><%= @rand2 %></dt>
					<% end %>
				</dl>
			</td>
		</tr>
	<% end %>
	</table>
	
	<div class="draw_numbers">
		<h5><%= link_to 'Draw Numbers', :action => 'switch' %></h5>
	</div>
		
	<% if @rand1 > @rand3 %>
		<div class="arrow1">
			<h5><====</h5>
		</div>
	<% end %>
	
	<% if @rand3 > @rand1 %>
		<div class="arrow1">
			<h5>====></h5>
		</div>
	<% end %>
	
	<% if @rand2 > @rand4 %>
		<div class="arrow2">
			<h5><====</h5>
		</div>
	<% end %>
	
	<% if @rand4 > @rand2 %>
		<div class="arrow2">
			<h5>====></h5>
		</div>
	<% end %>
	
	<div class="outcome">
		<h6><%= @outcome %></h6>
	</div>
	
	<div class="sack">
		<h6><%= @sack %></h6>
	</div>
		
	<div class="head">
		<p><%= @player1.name %>'s team is on defense</p>
	</div>
	<table class="table2">			
  	<% @defense.each do |player| %>
		<tr class="<%= cycle('even', 'odd') %>">
			
			<td>
				<%= image_tag player.image_url, :class => 'list-image' %>
			</td>
			
			<td class="list-description">
				<dl>
					<dt><%=h player.name %></dt>
					<dd>Overall: <%= player.overall %></dd>
					<% if player.position == "CB" %>
						<dt><%= @rand4 %></dt>
					<% end %>
					<% if player.position == "DL" %>
						<dt><%= @rand3 %></dt>
					<% end %>
				</dl>
			</td>
		</tr>
	<% end %>
	</table>
</div>
<div id="game_status_draw">
	<p>Down:</p>
	<br \><br \>
	To Go:
	<div class="current_down">
		<%= @current_down %>
	</div>
	<div class="downs_to_go">
	    <%= @first_downs_to_go %>
	</div>
</div>

<% if @first_downs_to_go < 4 %>
<div id="field_goal">
	<%= link_to 'Kick Field Goal', :action => 'kick_field_goal_2' %>
</div>
<% end %>

<div id="begin">
	<%= @player_2_score %> - <%= @player_1_score %>
</div>

<div id="game_status_draw_time">
	Drives Left: 
	<br \><br \><br \><br \>
	Quarter:
	<div class="drives_left">
		<%= @drives_left %>
	</div>
	<div class="quarter">
	    <%= @current_quarter %>
	</div>
</div>